package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;


@Table(name="t_favorites")
public class Favorites extends BaseEntity{

	private Integer id;
	/**
	 * 用户id
	 **/
	private Integer userId;
	/**
	 * 类型id
	 **/
	private Integer typeId;
	/**
	 * 收藏id
	 **/
	private Integer favoriteId;
	/**
	 * 收藏时间
	 **/
	private Date created;

	@Id
	public Integer getId(){
		return id;
	}
	public void setId(Integer id){
		this.id=id;
	}
	/**
	 * 用户id
	 **/
	public Integer getUserId(){
		return userId;
	}
	public void setUserId(Integer userId){
		this.userId=userId;
	}
	/**
	 * 类型id
	 **/
	public Integer getTypeId(){
		return typeId;
	}
	public void setTypeId(Integer typeId){
		this.typeId=typeId;
	}
	/**
	 * 收藏id
	 **/
	public Integer getFavoriteId(){
		return favoriteId;
	}
	public void setFavoriteId(Integer favoriteId){
		this.favoriteId=favoriteId;
	}
	/**
	 * 收藏时间
	 **/
	public Date getCreated(){
		return created;
	}
	public void setCreated(Date created){
		this.created=created;
	}
}